package com.sluan.mapper;

import com.sluan.pojos.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
public interface BookMapper {
    int save(Book book);

    int update(Book book);

    int delete(Integer id);

    Book getById(Integer id);

    List<Book> getAll();
}
